package com.content.view.Frame.MainPanel.MPPassword
{
	import com.content.model.Const.TransitionType;
	import com.content.model.GlobalVarProxy;
	import com.content.model.LoadedAssets.ConfigProxy;
	import com.content.model.LoadedAssets.SkinProxy;
	import com.content.view.Frame.Content.Content;
	import com.library.core.IDisposable;
	
	import flash.display.Sprite;
	import flash.events.DataEvent;
	
	import org.puremvc.as3.interfaces.IMediator;
	import org.puremvc.as3.interfaces.INotification;
	import org.puremvc.as3.patterns.mediator.Mediator;
	import com.content.view.Frame.MainPanel.MPBaseMediator;

	public final class MPPassword_Mediator extends MPBaseMediator
	{
		public static const NAME:String							= 'MPPassword';
		
		public function MPPassword_Mediator(viewComponent:Object=null)
		{
			super(this, NAME, viewComponent );
		}
		
		override public function onRegister():void
		{
			var bgSkin:Sprite = new SkinProxy.IMG_BG_MainPanel() as Sprite;				
			_view = new MPPassword(		pConfig.UI_MainPanel_MarginTop,
				pConfig.UI_MainPanel_MarginBottom,
				pConfig.UI_MainPanel_MarginLeft,
				pConfig.UI_MainPanel_MarginRight,
				pConfig.UI_CBarL1_Width + pConfig.UI_CBarL1_MarginLeft,
										bgSkin);			
			ParentView.addChild( _view );
		}
		
		override public function Dispose():void	{
		}
	}
}